package com.cs.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods")
public class Goods {
    @TableId(value="goods_id",type= IdType.AUTO)
    public Long goodsId;

    @TableField("goods_name")
    public String goodsName;

    @TableField("goods_type_id")
    public Long goodsTypeId;

    @TableField("goods_price")
    public Double goodsPrice;//标准售价

    @TableField("goods_img")
    public String goodsImg;
}
